package com.example.administrator.ygddriver.welcome;

public class WXBean {

    /**
     * success : true
     * errorCode :
     * localizedMessage : 统一下单成功！
     * result : {"WxPayAppOrderResult":{"sign":"02A2C56B30BF9BF12BDE43DA0211A7AF","prepayId":"wx06190530778025b2b59809243020346484","partnerId":"1516763831","appId":"wxed61e43845c60a4d","packageValue":"Sign=WXPay","timeStamp":"1544094330","nonceStr":"1544094330728"}}
     */

    private boolean success;
    private String errorCode;
    private String localizedMessage;
    private ResultBean result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getLocalizedMessage() {
        return localizedMessage;
    }

    public void setLocalizedMessage(String localizedMessage) {
        this.localizedMessage = localizedMessage;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * WxPayAppOrderResult : {"sign":"02A2C56B30BF9BF12BDE43DA0211A7AF","prepayId":"wx06190530778025b2b59809243020346484","partnerId":"1516763831","appId":"wxed61e43845c60a4d","packageValue":"Sign=WXPay","timeStamp":"1544094330","nonceStr":"1544094330728"}
         */

        private WxPayAppOrderResultBean WxPayAppOrderResult;

        public WxPayAppOrderResultBean getWxPayAppOrderResult() {
            return WxPayAppOrderResult;
        }

        public void setWxPayAppOrderResult(WxPayAppOrderResultBean WxPayAppOrderResult) {
            this.WxPayAppOrderResult = WxPayAppOrderResult;
        }

        public static class WxPayAppOrderResultBean {
            /**
             * sign : 02A2C56B30BF9BF12BDE43DA0211A7AF
             * prepayId : wx06190530778025b2b59809243020346484
             * partnerId : 1516763831
             * appId : wxed61e43845c60a4d
             * packageValue : Sign=WXPay
             * timeStamp : 1544094330
             * nonceStr : 1544094330728
             */

            private String sign;
            private String prepayId;
            private String partnerId;
            private String appId;
            private String packageValue;
            private String timeStamp;
            private String nonceStr;

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }

            public String getPrepayId() {
                return prepayId;
            }

            public void setPrepayId(String prepayId) {
                this.prepayId = prepayId;
            }

            public String getPartnerId() {
                return partnerId;
            }

            public void setPartnerId(String partnerId) {
                this.partnerId = partnerId;
            }

            public String getAppId() {
                return appId;
            }

            public void setAppId(String appId) {
                this.appId = appId;
            }

            public String getPackageValue() {
                return packageValue;
            }

            public void setPackageValue(String packageValue) {
                this.packageValue = packageValue;
            }

            public String getTimeStamp() {
                return timeStamp;
            }

            public void setTimeStamp(String timeStamp) {
                this.timeStamp = timeStamp;
            }

            public String getNonceStr() {
                return nonceStr;
            }

            public void setNonceStr(String nonceStr) {
                this.nonceStr = nonceStr;
            }
        }
    }
}
